home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
esptlxsc.zip
/
ESPBBS.SLT
next >
Wrap
Text File
|
1991-11-13
|
2KB
|
57 lines
///////////////////////////// ESPBBS.SLT ///////////////////////////////////
// This is a sample script for logging on to an ESPBBS based system.
str user_name[] = "Your Name";
// Put your name in the above line. The script will get the proper password
// from the dialing directory (Telix puts that password in the script system
// variable called _entry_pass).
// Before using this script for the first time, or when you make a change,
// type 'cs espbbs' at the DOS prompt to compile the script for use by Telix.
// This script is a modification of "quickbbs.slt" that comes with Telix.
//////////////////////////////////////////////////////////////////////////////
main()
{
alarm (1);
if (not _entry_pass) // no pass, so didn't recog. board
{
prints ("Sorry, I don't know the password for this BBS!");
return;
}
If (not waitfor (" graphics? ->", 100)) // if no prompt for graphics
{
prints ("Log-on (graphics) failed!");
return; // ...abort
}
cputs ("y");
cputs ("^M");
if (not waitfor (" name. ->", 180)) // if no prompt for name
{
prints ("Log-on (name) failed!");
return; // ...abort
}
cputs (user_name); // send name
cputs ("^M");
if (not waitfor ("Password? -", 20)) // if no prompt for password
{
prints ("Log-on (password) failed!");
return; // ...abort
}
cputs (_entry_pass); // send pass
cputs ("^M");
}